#pragma once

#include "CBase.h"

enum { SHORT_RANGE= 0, MID_RANGE, LONG_RANGE, MAX_CLASS };

class CPlayer : public CBase
{		
private:
	int m_nClassType;
	string m_nImagePath;
	
public:
	CPlayer();
	~CPlayer();

	bool CheckCollision( IBaseInterface* pBase );
	RECT GetCollisionRect();
	void HandleEvent(CEvent* pEvent);
//	void SetClassType( int _Type ){ m_nClassType = _Type };
///	int GetClassType() { return m_nClassType };

//	void Update(float _fDT);
//	void Render();

	bool Load(const char* szFileName, char _input);
	bool Save(const char* xmlFileName,const char* xmlFileName1,const char* xmlFileName2,const char* xmlFileName3);
};